// app.js
App({	
	
	onLaunch() {
	
		
		wx.login({
			success: (res) => {
				console.log(res)
				this.globalData.code = res.code;
				
			},
			fail: (err) => {
				reject(err);
			}
		})
	},
	globalData: {
		code:'',
		baseUrl: 'https://bjyoupei.techbz.cn',
		userInfo: null,
		records: '',
		token: '',
		time: '',
		lat:'',
		lng:'',
		role:0,//0未选择 1普通 2修理厂
		initCountDown:60
	}
})
